<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
<script>
    var s = {name:'',age:0,sings:{name:'',age:0},list:[]}
    var ss = new Proxy(s,{
        set:(a,b,c)=>{console.log('修改了s对象',a,b,c);},
        get:(a,b,c)=>{console.log('获取了s对象',a,b,c);},
    })
</script>